package com.woniuxy.carlife.param;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author fx
 * @ClassName:CouponParam
 * @Description:作为优惠券控制类中查询方法的参数的vo类，可做多条件查询
 * @date 2021/4/6 22:59
 **/

@Data
@ApiModel(value = "优惠券查询方法的param类")
public class FindCouponParam {

    //优惠券名称
    @ApiModelProperty(value = "优惠券名称",dataType = "String")
    private String couponName;

    //优惠券分类(满减券/无门槛券等)
    @ApiModelProperty(value = "优惠券分类",dataType = "String")
    private String couponCategoryName;

    //满减优惠券额度
    @ApiModelProperty(value = "满减优惠券额度",dataType = "BigDecimal")
    private BigDecimal couponQuota;

    //优惠券状态(已发放/未发放/删除/已领完)
    @ApiModelProperty(value = "优惠券状态(已发放/未发放/删除/已领完)",dataType = "String")
    private String couponStatus;

    //优惠券最小数量
    @ApiModelProperty(value = "优惠券最小数量",dataType = "Integer")
    private Integer couponMinNumber;

    //优惠券最大数量
    @ApiModelProperty(value = "优惠券最大数量",dataType = "Integer")
    private Integer couponMaxNumber;
}
